#pragma once


class CMultiDisplayDlg;

class CMonitorWorktable
{
	struct WND_INFO
	{
		WND_INFO(CWnd *pWnd, BOOL bShow)
			: m_pWnd(pWnd)
			, m_bShow(bShow){}
		BOOL m_bShow;
		CWnd* m_pWnd;
	};
	typedef vector<WND_INFO> CWndInfoArray;
public:
	const DWORD m_dwID;
	CWndInfoArray m_WndInfoArray;

	CMultiDisplayDlg* m_pMultiDisplayDlg;
	CWnd* m_pMainView;

public:
	CMonitorWorktable(DWORD dwID);
	~CMonitorWorktable(void);

	void AddWindow(CWnd *pWnd, BOOL bShow);
	void AddWindow(CWnd *pWnd);

	void SetActive(BOOL bActive);

	void SendToolbarCommand(UINT nCommand);
};
